export default {
	data() {
		return {
			showMore: true
		}
	},
	methods: {
		switchChange(e) {
			this.showMore = e.detail.value
		},
		checkboxChange(e) {
			this.checkboxValue = e.detail.value
			this.search()
		},
		itemTypeOf(type) {
			type = type || ''
			return type.substr(0, type.indexOf("/"));
		},
		previewImage(fileID) {
			console.log(fileID);
		},
		previewVideo(item){
			
		}
	}
}
